﻿<Window x:Class="Update.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="更新" Height="378" Width="600" WindowStartupLocation="CenterScreen" 
        MinWidth="600" MinHeight="378"
        MaxWidth="600" MaxHeight="378">
    <Grid Width="580">
        <Label Content="当前进度：" Height="28" HorizontalAlignment="Left" Margin="14,27,0,0" Name="label1" VerticalAlignment="Top" Width="63" />
        <ProgressBar Height="20" HorizontalAlignment="Left" Margin="70,29,0,0" Name="progressBar1" VerticalAlignment="Top" Width="483" />
        <ListView Height="272" HorizontalAlignment="Left" Margin="13,55,0,0" Name="listView1" VerticalAlignment="Top" Width="553">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="文件名" Width="150" DisplayMemberBinding="{Binding FileName}"/>
                    <GridViewColumn Header="更新时间" Width="100" DisplayMemberBinding="{Binding LastTime}" />
                    <GridViewColumn Header="大小" Width="100" DisplayMemberBinding="{Binding Size}" />
                    <GridViewColumn Header="MD5" Width="100" DisplayMemberBinding="{Binding MD5}" />
                    <GridViewColumn Header="状态" Width="100" DisplayMemberBinding="{Binding UpdateState,Mode=TwoWay}"/>
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
